package com.xzq.erp.domain.dto;

import com.xzq.erp.enums.AfterSalesServiceStatus;
import com.xzq.erp.enums.Priority;
import com.xzq.erp.enums.ProblemType;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AfterSalesServiceDTO {

    /**
     * 主键ID
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 问题类型:1-产品质量,2-安装问题,3-使用咨询,4-维修服务,5-退换货,6-其他
     */
    @NotNull(message = "问题类型不能为空")
    private ProblemType problemType;

    /**
     * 售后优先级:1-普通,2-紧急
     */
    @NotNull(message = "售后优先级不能为空")
    private Priority priority;

    /**
     * 处理状态:0-待处理,1-处理中,2-已完成,3-已关闭
     */
    @NotNull(message = "处理状态不能为空")
    private AfterSalesServiceStatus status;

}
